package com.ljt.system.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ljt.system.entity.Role;
import com.ljt.system.mapper.RoleMapper;
import com.ljt.system.service.RoleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * <p>
 * 角色表 服务实现类
 * </p>
 *
 * @author ljt
 * @since 2021-06-27
 */
@Service
public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role> implements RoleService {


    @Override
    public Page<Role> queryUserByRoleName(Page rolePage, @RequestParam String roleName, @RequestParam String remark) {
        return this.baseMapper.queryUserByRoleName(rolePage,roleName,remark);
    }
}
